{extend name="public:layout" /}
{block name="title"}添加快递公司{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> <a href="{:url('index')}"> 快递公司列表</a></li>
                <li class="active">添加快递公司</li>
            </ol>
        </div>
        <div class="ibox-content">
            <form method="post" class="form-horizontal" id="form">
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">快递公司编码</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" placeholder="请输入快递公司编码"
                               name="express_code" value="" datatype="*"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">快递公司名称</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control" placeholder="请输入快递公司名称"
                               name="express_name" value="" datetype="*"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">订单查询网址</label>
                    <div class="col-sm-4">
                        <input type="text" class="form-control"
                               name="express_url" value="" datatype="*" />
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10 col-sm-offset-2">
                        <button class="btn btn-primary" type="button" id="btnSub">
                            保存内容
                        </button>
                        <a href="{:url('index')}" class="btn btn-white">取消</a>
                        <span id="validError"></span>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
    ajaxSubForm('#btnSub');
</script>
{/block}